import BaseFetch from './http'
import {UserParams} from './ts/user'

export const getUser = async(paramsData: UserParams): Promise<any> => {
  const {url} = paramsData
  return BaseFetch.GET({url})
}